package com.hxgz.steel.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(value = "订单内容")
public class OrderItemTimeDto {

  private Long id;
  @ApiModelProperty("产品Id")
  private Long productId;
  @ApiModelProperty("分类名称")
  private String categoryName;
  @ApiModelProperty("商品名称")
  private String productName;
  @ApiModelProperty("品名")
  private String topName;
  @ApiModelProperty("材质")
  private String materials;
  @ApiModelProperty("特性")
  private String features;
  @ApiModelProperty("数量")
  private Integer quantity;
  @ApiModelProperty("单位")
  private String unit;
  @ApiModelProperty("地区")
  private String area;
  @ApiModelProperty("价格")
  private BigDecimal price;

  public OrderItemTimeDto() {
  }

  public OrderItemTimeDto(Long id, String categoryName, String productName, String topName,
      String materials, String features, Integer quantity, String area, BigDecimal price) {
    this.id = id;
    this.categoryName = categoryName;
    this.productName = productName;
    this.topName = topName;
    this.materials = materials;
    this.features = features;
    this.quantity = quantity;
    this.area = area;
    this.price = price;
  }
}
